import { ApiProperty } from "@nestjs/swagger";

export class CreateUserDto {
  @ApiProperty({
    description: '邮箱',
    default: '1132929091@qq.com'
  })
  email: string

  @ApiProperty({
    description: '密码',
    default: '123456'
  })
  password: string

  @ApiProperty({
    description: '手机号',
    default: '13332558952'
  })
  mobile: string

  @ApiProperty({
    description: '描述',
    default: '这个人什么也没留下。。。'
  })
  description: string

  @ApiProperty({
    description: '是否验证',
    default: false
  })
  isVerify: boolean

  @ApiProperty({
    description: '测试',
    default: '测试',
    required: false
  })
  readonly test: string
}
